package com.zhika.zishi.constant;

/**
 * Created by shi-02 on 2015/5/2.
 * 有关网络请求的常量
 */
public class InternetConstant {

    //字符编码
    public  static final String CHARSET = "UTF-8";

    //请求的参数的类型
    public static final String CONTENT_TYPE = "application/json";

    //服务器的地址
    public static final String SERVER_ADDRESS = "http://192.168.10.22:8080/zishi/";

    //发送手机验证码的接口
    public static final String REQUEST_CODE = "api/auth/requestCode";

    //注册接口
    public static final String REGISTER = "api/auth/register";

    //登录接口
    public static final String LOGIN = "api/auth/accountLogin";

    //自动登录接口
    public static final String AUTO_LOGIN = "api/auth/autoLogin";

    //退出登录的接口
    public static final String QUIT_LOGIN = "api/auth/logout";

    //重置密码的接口
    public static final String RESET_PASSWORD = "api/auth/reset";

    //修改密码
    public static final String MODIFY_PASSWORD = "api/auth/updatePasswd";
}
